USE [CuentaCorriente]
GO

/****** Object:  StoredProcedure [dbo].[sp_VistaMovimientoByID]    Script Date: 11/30/2009 19:31:49 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[sp_VistaMovimientoByID]
	-- Add the parameters for the stored procedure here
	@Id_Persona bigint
	
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	SELECT [FechaMov]
      ,[COMPROBANTE]
      ,[Debito]
      ,[Credito]
  FROM [CuentaCorriente].[dbo].[VISTA_FICHA]
  WHERE [Id_Persona] = @Id_Persona

END

GO

